

package cn.shengchao.examstart.medialibrary.domain.entity;

import cn.shengchao.examstart.medialibrary.domain.valobj.FileTypeEnum;
import lombok.Data;

@Data
public class File {
    private Long id;
    private String name;
    private long size;
    private String url;
    /**
     * 扩展名
     */
    private String extension;

    /**
     * 类型
     */
    private FileTypeEnum type;

    /**
     * 缩略图大小（字节)
     */
    private Long thumbnailSize;

    /**
     * 缩略图URL
     */
    private String thumbnailUrl;

    /**
     * 存储 ID
     */
    private Long storageId;

    private String attr;
}
